package com.zc.angelica.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zc.angelica.entity.RoleAccountInfo;
import com.zc.angelica.entity.RoleInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 *
 * @author makejava
 * @since 2022-04-05 20:21:48
 */
@Mapper
public interface RoleAccountInfoMapper extends BaseMapper<RoleAccountInfo> {

    IPage<RoleInfo> selectPageInfo(IPage<RoleInfo> page,Long accountId);

    List<RoleInfo> selectMyRolesInfo(Long accountId);
}

